package com.imooc.miaosha.service;

import com.alibaba.fastjson.TypeReference;
import com.imooc.miaosha.common.Const;
import com.imooc.miaosha.dto.OrderDTO;
import com.imooc.miaosha.dto.OrderDetailDTO;
import com.imooc.miaosha.pojo.User;
import com.imooc.miaosha.util.*;
import com.imooc.miaosha.vo.OrderShippingVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.UUID;

public interface OrderService {

    public List<OrderShippingVO> list(Long userId);
    public OrderDetailDTO detail(Long orderId,Long userId);
    public OrderShippingVO getOrder(Long miaoshaId, Long userId);
    void closeOrder();

}
